package com.dswz.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserCartQuery {
	protected Integer pageNo = Integer.valueOf(1);

	protected Integer startRow;

	protected Integer pageSize = Integer.valueOf(10);
	protected String fields;

	public Integer getPageNo() {
		return pageNo;
	}


	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}


	public Integer getStartRow() {
		return startRow;
	}


	public void setStartRow(Integer startRow) {
		this.startRow = startRow;
	}


	public Integer getPageSize() {
		return pageSize;
	}


	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}


	public String getFields() {
		return fields;
	}


	public void setFields(String fields) {
		this.fields = fields;
	}

    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;
    public UserCartQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
    public boolean isDistinct() {
        return distinct;
    }
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserCartIdIsNull() {
            addCriterion("user_cart_id is null");
            return (Criteria) this;
        }

        public Criteria andUserCartIdIsNotNull() {
            addCriterion("user_cart_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserCartIdEqualTo(String value) {
            addCriterion("user_cart_id =", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdNotEqualTo(String value) {
            addCriterion("user_cart_id <>", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdGreaterThan(String value) {
            addCriterion("user_cart_id >", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_cart_id >=", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdLessThan(String value) {
            addCriterion("user_cart_id <", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdLessThanOrEqualTo(String value) {
            addCriterion("user_cart_id <=", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdLike(String value) {
            addCriterion("user_cart_id like", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdNotLike(String value) {
            addCriterion("user_cart_id not like", value, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdIn(List<String> values) {
            addCriterion("user_cart_id in", values, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdNotIn(List<String> values) {
            addCriterion("user_cart_id not in", values, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdBetween(String value1, String value2) {
            addCriterion("user_cart_id between", value1, value2, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserCartIdNotBetween(String value1, String value2) {
            addCriterion("user_cart_id not between", value1, value2, "userCartId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserMobileIsNull() {
            addCriterion("user_mobile is null");
            return (Criteria) this;
        }

        public Criteria andUserMobileIsNotNull() {
            addCriterion("user_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andUserMobileEqualTo(String value) {
            addCriterion("user_mobile =", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotEqualTo(String value) {
            addCriterion("user_mobile <>", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileGreaterThan(String value) {
            addCriterion("user_mobile >", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileGreaterThanOrEqualTo(String value) {
            addCriterion("user_mobile >=", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLessThan(String value) {
            addCriterion("user_mobile <", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLessThanOrEqualTo(String value) {
            addCriterion("user_mobile <=", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLike(String value) {
            addCriterion("user_mobile like", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotLike(String value) {
            addCriterion("user_mobile not like", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileIn(List<String> values) {
            addCriterion("user_mobile in", values, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotIn(List<String> values) {
            addCriterion("user_mobile not in", values, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileBetween(String value1, String value2) {
            addCriterion("user_mobile between", value1, value2, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotBetween(String value1, String value2) {
            addCriterion("user_mobile not between", value1, value2, "userMobile");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIsNull() {
            addCriterion("goods_pic is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIsNotNull() {
            addCriterion("goods_pic is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPicEqualTo(String value) {
            addCriterion("goods_pic =", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotEqualTo(String value) {
            addCriterion("goods_pic <>", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicGreaterThan(String value) {
            addCriterion("goods_pic >", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicGreaterThanOrEqualTo(String value) {
            addCriterion("goods_pic >=", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLessThan(String value) {
            addCriterion("goods_pic <", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLessThanOrEqualTo(String value) {
            addCriterion("goods_pic <=", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicLike(String value) {
            addCriterion("goods_pic like", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotLike(String value) {
            addCriterion("goods_pic not like", value, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicIn(List<String> values) {
            addCriterion("goods_pic in", values, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotIn(List<String> values) {
            addCriterion("goods_pic not in", values, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicBetween(String value1, String value2) {
            addCriterion("goods_pic between", value1, value2, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPicNotBetween(String value1, String value2) {
            addCriterion("goods_pic not between", value1, value2, "goodsPic");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNull() {
            addCriterion("goods_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIsNotNull() {
            addCriterion("goods_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceEqualTo(Double value) {
            addCriterion("goods_price =", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotEqualTo(Double value) {
            addCriterion("goods_price <>", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThan(Double value) {
            addCriterion("goods_price >", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("goods_price >=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThan(Double value) {
            addCriterion("goods_price <", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceLessThanOrEqualTo(Double value) {
            addCriterion("goods_price <=", value, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceIn(List<Double> values) {
            addCriterion("goods_price in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotIn(List<Double> values) {
            addCriterion("goods_price not in", values, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceBetween(Double value1, Double value2) {
            addCriterion("goods_price between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andGoodsPriceNotBetween(Double value1, Double value2) {
            addCriterion("goods_price not between", value1, value2, "goodsPrice");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumIsNull() {
            addCriterion("user_cart_buy_num is null");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumIsNotNull() {
            addCriterion("user_cart_buy_num is not null");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumEqualTo(Integer value) {
            addCriterion("user_cart_buy_num =", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumNotEqualTo(Integer value) {
            addCriterion("user_cart_buy_num <>", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumGreaterThan(Integer value) {
            addCriterion("user_cart_buy_num >", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_cart_buy_num >=", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumLessThan(Integer value) {
            addCriterion("user_cart_buy_num <", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumLessThanOrEqualTo(Integer value) {
            addCriterion("user_cart_buy_num <=", value, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumIn(List<Integer> values) {
            addCriterion("user_cart_buy_num in", values, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumNotIn(List<Integer> values) {
            addCriterion("user_cart_buy_num not in", values, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumBetween(Integer value1, Integer value2) {
            addCriterion("user_cart_buy_num between", value1, value2, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartBuyNumNotBetween(Integer value1, Integer value2) {
            addCriterion("user_cart_buy_num not between", value1, value2, "userCartBuyNum");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoIsNull() {
            addCriterion("user_cart_order_no is null");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoIsNotNull() {
            addCriterion("user_cart_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoEqualTo(Integer value) {
            addCriterion("user_cart_order_no =", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoNotEqualTo(Integer value) {
            addCriterion("user_cart_order_no <>", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoGreaterThan(Integer value) {
            addCriterion("user_cart_order_no >", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_cart_order_no >=", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoLessThan(Integer value) {
            addCriterion("user_cart_order_no <", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoLessThanOrEqualTo(Integer value) {
            addCriterion("user_cart_order_no <=", value, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoIn(List<Integer> values) {
            addCriterion("user_cart_order_no in", values, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoNotIn(List<Integer> values) {
            addCriterion("user_cart_order_no not in", values, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoBetween(Integer value1, Integer value2) {
            addCriterion("user_cart_order_no between", value1, value2, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartOrderNoNotBetween(Integer value1, Integer value2) {
            addCriterion("user_cart_order_no not between", value1, value2, "userCartOrderNo");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelIsNull() {
            addCriterion("user_cart_is_del is null");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelIsNotNull() {
            addCriterion("user_cart_is_del is not null");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelEqualTo(Byte value) {
            addCriterion("user_cart_is_del =", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelNotEqualTo(Byte value) {
            addCriterion("user_cart_is_del <>", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelGreaterThan(Byte value) {
            addCriterion("user_cart_is_del >", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelGreaterThanOrEqualTo(Byte value) {
            addCriterion("user_cart_is_del >=", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelLessThan(Byte value) {
            addCriterion("user_cart_is_del <", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelLessThanOrEqualTo(Byte value) {
            addCriterion("user_cart_is_del <=", value, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelIn(List<Byte> values) {
            addCriterion("user_cart_is_del in", values, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelNotIn(List<Byte> values) {
            addCriterion("user_cart_is_del not in", values, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelBetween(Byte value1, Byte value2) {
            addCriterion("user_cart_is_del between", value1, value2, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartIsDelNotBetween(Byte value1, Byte value2) {
            addCriterion("user_cart_is_del not between", value1, value2, "userCartIsDel");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeIsNull() {
            addCriterion("user_cart_create_time is null");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeIsNotNull() {
            addCriterion("user_cart_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeEqualTo(Date value) {
            addCriterion("user_cart_create_time =", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeNotEqualTo(Date value) {
            addCriterion("user_cart_create_time <>", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeGreaterThan(Date value) {
            addCriterion("user_cart_create_time >", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user_cart_create_time >=", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeLessThan(Date value) {
            addCriterion("user_cart_create_time <", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("user_cart_create_time <=", value, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeIn(List<Date> values) {
            addCriterion("user_cart_create_time in", values, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeNotIn(List<Date> values) {
            addCriterion("user_cart_create_time not in", values, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeBetween(Date value1, Date value2) {
            addCriterion("user_cart_create_time between", value1, value2, "userCartCreateTime");
            return (Criteria) this;
        }

        public Criteria andUserCartCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("user_cart_create_time not between", value1, value2, "userCartCreateTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dswz_user_cart
     *
     * @mbg.generated do_not_delete_during_merge Sat Sep 01 12:48:33 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dswz_user_cart
     *
     * @mbg.generated Sat Sep 01 12:48:33 CST 2018
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}